package com.cq.oa.domain.wfc;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import oa.base.hibernate.BaseClass;

@Entity
@Table(name = "wfc_transition")
public class Transition extends BaseClass {
   
	/**
	 * lilang
	 * 2013-10-19下午1:53:45
	 */
	private static final long serialVersionUID = 1918634247506725355L;

	@Column(name = "NAME")
	private String name;

	@Column(name = "ALIAS")
	private String alias;

	@Column(name = "PROCESS_DEFINITION_SID")
	private Long processDefinitionSid;

	@Column(name = "FROM_SID")
	private Long fromSid;

	@Column(name = "TO_SID")
	private Long toSid;

	@Column(name = "POSITION")
	private String position;

	@Column(name = "FROM_INDEX")
	private Long fromIndex;

	@Column(name = "CSS_STYLE")
	private String cssStyle;

	@Column(name = "CSS_CLASS")
	private String cssClass;
	
	

    public String getCssStyle() {
		return cssStyle;
	}

	public void setCssStyle(String cssStyle) {
		this.cssStyle = cssStyle;
	}

	public String getCssClass() {
		return cssClass;
	}

	public void setCssClass(String cssClass) {
		this.cssClass = cssClass;
	}

	public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias == null ? null : alias.trim();
    }

    public Long getProcessDefinitionSid() {
        return processDefinitionSid;
    }

    public void setProcessDefinitionSid(Long processDefinitionSid) {
        this.processDefinitionSid = processDefinitionSid;
    }

    public Long getFromSid() {
        return fromSid;
    }

    public void setFromSid(Long fromSid) {
        this.fromSid = fromSid;
    }

    public Long getToSid() {
        return toSid;
    }

    public void setToSid(Long toSid) {
        this.toSid = toSid;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position == null ? null : position.trim();
    }

    public Long getFromIndex() {
        return fromIndex;
    }

    public void setFromIndex(Long fromIndex) {
        this.fromIndex = fromIndex;
    }

    
}